package com.itluma.openapi.mapper;

import com.itluma.openapi.pojo.LimitPolicy;
import com.itluma.openapi.pojo.LimitPolicyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LimitPolicyMapper {
    long countByExample(LimitPolicyExample example);

    int deleteByExample(LimitPolicyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LimitPolicy record);

    int insertSelective(LimitPolicy record);

    List<LimitPolicy> selectByExample(LimitPolicyExample example);

    LimitPolicy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LimitPolicy record, @Param("example") LimitPolicyExample example);

    int updateByExample(@Param("record") LimitPolicy record, @Param("example") LimitPolicyExample example);

    int updateByPrimaryKeySelective(LimitPolicy record);

    int updateByPrimaryKey(LimitPolicy record);
}